package uk.co.javahelp.sender.message;

import org.springframework.core.io.InputStreamSource;

public class Attachment {
	
	private final String filename;
	
	private final InputStreamSource content;

	public Attachment(final String filename, final InputStreamSource content) {
		this.filename = filename;
		this.content = content;
	}

	public String getFilename() {
		return filename;
	}

	public InputStreamSource getContent() {
		return content;
	}
}
